#pragma once
#include <vector>
#include <cstdlib>
#include <string>
#include <iostream>
#include <iomanip>
#include <cstdlib>
#include <conio.h>
#include "../../../Course/Console.h"
#include "Card.h"
#include "Player.h"
#include "../HighScore/HighScore.h"
#include "../HighScore/HighScoreData.h"


using namespace std;

namespace memory{

	class Memory
	{
	public:
		Memory();
		~Memory();

		void printCards();

		void nextMove();

		void addPlayers();

		int turn;

	private:
		int rows;
		int cols;
		int no_players;
		vector<vector<Card>> *card_matrix_pointer;
		vector<Player> *players_pointer;
		vector<string> *card_words;
		int xcursor, ycursor;
		bool game_over;
		bool checkGameOver();
		int cards_left;
		int active_player;
		HighScore *hs;

		vector<int> *card1_pointer;
		vector<int> *card2_pointer;

	};
}
